package o;

import com.huawei.gamebox.plugin.gameservice.bean.GameInfo;
import java.util.ArrayList;
import org.json.JSONArray;
import org.json.JSONObject;

public class bfq extends bfd {
    public static final String APIMETHOD = "client.gs.getPipBlackList";
    private String packageNames_;

    public bfq(GameInfo gameInfo) {
        super(gameInfo);
    }

    public static bfq ˎ(GameInfo gameInfo, ArrayList<String> arrayList) {
        bfq o_bfq = new bfq(gameInfo);
        o_bfq.setMethod_(APIMETHOD);
        o_bfq.targetServer = "jxs.url";
        o_bfq.setStoreApi("gbClientApi");
        Object wrap = JSONObject.wrap(arrayList);
        if (wrap instanceof JSONArray) {
            o_bfq.packageNames_ = wrap.toString();
        }
        return o_bfq;
    }
}
